package com.wn.ticket.mapper;

import com.wn.ticket.entity.Artist;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wuqingting
 * @date 2022/8/28
 */
@Repository
public interface ArtistMapper {
    Artist getById(int id);
    Artist getByName(String name);
    List<Artist> getByPerformId(int id);
    void update(Artist artist);
    List<Artist> getByFans();

}
